package net.sky.oa.test.dao.talkpark;

import javax.annotation.Resource;

import org.junit.Test;
import org.springframework.test.annotation.Rollback;

import net.sky.oa.dao.talkpark.TalBlogDao;
import net.sky.oa.model.TalBlog;
import net.sky.oa.test.BaseTestCase;

public class TalBlogDaoTestCase extends BaseTestCase {

	@Resource
	private TalBlogDao talblogdao;
	
	@Test
	@Rollback(false)
	public void list(){
		TalBlog talblog=new TalBlog();
		talblog.setContent("testok");
		talblog.setTitle("ok");
		this.talblogdao.save(talblog);
	}
}
